package cn.xk.org.mapper;

import cn.xk.basic.mapper.BaseMapper;
import cn.xk.org.domain.Shop;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Keshao
 * @since 2023-02-06
 */
public interface ShopMapper extends BaseMapper<Shop> {

    Shop findByNameAndAddress(Shop shop);


    void updateState(@Param("state")Integer state, @Param("shopId")Long shopId);
}
